home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 50
/
Aminet 50 (2002)(GTI - Schatztruhe)[!][Aug 2002].iso
/
Aminet
/
util
/
rexx
/
MicroRexx203.lha
/
MicroRexx
/
Rexx
/
Windows.rexx
< prev
Wrap
OS/2 REXX Batch file
|
1998-08-07
|
613b
|
41 lines
/* Windows.rexx */
options results
address 'MicroRexx'
'OPENWIN' 10 10 300 100 'First'
w = result
'BUTTON' w 0 30 30 30 30 "QUIT" 2
'STRING' w 1 100 50 80 16 "»" 1 5
'GADGETSON' w
'GADGETHIT' w
'OPENWIN' 400 130 80 80 'Second'
z = result
'BUTTON' z 0 30 30 30 30 "?" 1
'GADGETSON' z
'GADGETHIT' z
do forever
'GADGETHIT' w
g = result
say g
if g = 1 then do
'STRINGRESULT' w 1
say result
end
if g = 0 then do
signal 1
end
'GADGETHIT' z
h = result
if h = 0 then do
'ABOUT'
end
end
1:
'GADGETSOFF' w
'KILLGADGETS' w
'CLOSEWIN' w
'GADGETSOFF' z
'KILLGADGETS' z
'CLOSEWIN' z
exit